package com.atguigu.edubanners.service;

import com.atguigu.edubanners.entity.FrontBanner;
import com.atguigu.edubanners.entity.vo.BannerRequestVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuanglijiao
 * @since 2021-10-19
 */
public interface FrontBannerService extends IService<FrontBanner> {

    //1.查询所有banner
    List<FrontBanner> getAllFrontBanner();

    //2.前台轮播图列表
    List<FrontBanner> getFrontAllBannerLimit5();

    //3.修改轮播图排序
    Boolean ModifyFrontBannerSort(BannerRequestVo.ModifyFrontBannerSort modifyFrontBannerSort);
}
